package com.ssy.lingxi.product.api.model.request.commodity;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 商品会员
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/1/11
 */
@Getter
@Setter
public class CommodityMemberRequest implements Serializable {
    private static final long serialVersionUID = 9105607712001131887L;
    /**
     * 会员id
     */
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    /**
     * 会员名称
     */
    @NotNull(message = "会员名称不能为空")
    private String memberName;

    /**
     * 会员类型名称
     */
    private String memberTypeName;

    /**
     * 会员角色id
     */
    @NotNull(message = "会员角色id不能为空")
    private Long memberRoleId;

    /**
     * 会员角色名称
     */
    @NotNull(message = "会员角色名称不能为空")
    private String memberRoleName;

}
